package com.gtt.jr.repository;

import java.util.List;

import com.gtt.jr.constants.CommentsType;
import com.gtt.jr.repository.base.BaseDao;
import com.gtt.jr.repository.domain.Comments;

/**
 * Comments Dao
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-3-2 08:57:38
 * 
 */
public interface CommentsDao extends BaseDao<Comments> {

	/**
	 * 加载所有评论
	 * 
	 * @param type
	 *            CommentsType
	 * @param entityId
	 *            Long
	 * @return
	 */
	List<Comments> loadAllByType(CommentsType type, Long entityId);

}
